Interface: AudioGraph
Properties
context
• Readonly
context: AudioContext
inits
• Readonly
inits: AudioNodeInit
<AudioNode
, BaseAudioNode
>[]
state
• Readonly
state: AudioGraphState
Methods
addWorklet
▸ addWorklet(moduleURL
, options?
): Promise
<void
>
Parameters
Name | Type |
---|---|
moduleURL | string |
options? | WorkletOptions |
Returns
Promise
<void
>
connect
▸ connect(sequence
): void
Parameters
Name | Type |
---|---|
sequence | AudioNodeInitConnection |
Returns
void
disconnect
▸ disconnect(sequence
): void
Parameters
Name | Type |
---|---|
sequence | AudioNodeInitConnection |
Returns
void
release
▸ release(): Promise
<void
>
Returns
Promise
<void
>
releaseInit
▸ releaseInit(init
): void
Parameters
Name | Type |
---|---|
init | AudioNodeInit <AudioNode , BaseAudioNode > |
Returns
void